

//添加文书
function writAction(pViewBeanId,actionName)
{
	var params = {
		actionName: actionName,
	    displayName:"新建文书板块",		
	    image16 : "icons/cog_add.png",
		width:650,
		height:400
	};
	SinoPortal.View.createWin("writ-scene","writ-add",pViewBeanId,params);
}

//编辑文书
function wAction(pViewBeanId,actionName)
{
	var params = {
		actionName: actionName,
	    displayName:"编辑文书板块",		
	    image16 : "icons/cog_add.png",
		width:650,
		height:450
	};
	SinoPortal.View.createWin("writ-scene","writ-edit",pViewBeanId,params);
}

function viewAction(pViewBeanId,actionName)
{
	var params = {
		actionName: actionName,
	    displayName:"预览模板",		
	    image16 : "icons/cog_add.png",
		width:800,
		height:600
	};
	alert("aaaa");
	SinoPortal.View.createWin("writ-scene","writ_view",pViewBeanId,params);
}